/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.stateless;

import entity.Inquiry;
import entity.InquiryItem;
import entity.Lead;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Wx
 */
@Local
public interface SalesInquirySessionBeanLocal {
    
//    public void addSalesContact(String emailAddress, String name, int contact, int fax, String description);
//    public void updateSalesContact(String emailAddress, String name, int contact, int fax, String description);
    public void updateLead(Long id, Inquiry i);
    public void updateCustomer(Long id, Inquiry i);
    public void updateInquiry(Long id, InquiryItem ii);
    public void updateInquiry(Long id, String status);
    public void updateInquiryItems(List<InquiryItem> inquiryItems);
//    public SalesContact getSalesContact(String emailAddress);
//    public List<SalesContact> getSalesContacts();
//    public List<Inquiry> getInquiries(String emailAddress);
    public Inquiry getInquiry(Long id);
    public InquiryItem getInquiryItem(Long id);
    public void deleteInquiryItem(Long inquiryId, Long inquiryItemId);
//    public Inquiry addInquiry();
//    public <List>Inquiry getUnconvertedInquiries(Long id);
}
